package com.ll.studentservice.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDate;
import java.time.LocalTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ll
 * @since 2020-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="EduSign对象", description="")
public class EduSign implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "学生id")
    private String studentId;

    @ApiModelProperty(value = "教师id")
    private String teacherId;

    @ApiModelProperty(value = "班级id")
    private String classId;

    @ApiModelProperty(value = "第几节课")
    private String keNumber;

    @ApiModelProperty(value = "课程详细信息id")
    private String keInfoId;

    @ApiModelProperty(value = "是否签到(0未签到,1已签到,2请假)")
    private String isSign;

    @ApiModelProperty(value = "签到时间")
    private LocalTime signTime;

    @ApiModelProperty(value = "为什么签到,用来对签到做划分")
    private String whySign;

    @ApiModelProperty(value = "签到日期")
    private LocalDate signDate;

    @ApiModelProperty(value = "每节课评分分数(1-5)")
    private String keScore;

    @ApiModelProperty(value = "每节课评价内容")
    private String keScoreText;

    @ApiModelProperty(value = "第几周")
    private String week;

//    @ApiModelProperty(value = "每节课评分Id")
//    private String keScoreId;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}
